package com.broadengate.dao.impl;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.broadengate.dao.BalanceDao;
import com.broadengate.model.Card;

/******
 * 提供查询余额的方法
 * 方法主要有searchBanlanceByID()；
 */
public class BalanceDaoImpl extends HibernateDaoSupport implements BalanceDao {

	public Card searchBanlanceByID(String cardNO){
		
		return (Card)getHibernateTemplate().get(Card.class, cardNO);
	}
}
